
$(function(){
        
        jQuery("#tableTours").jqGrid({
        url:'/admin/getuserclientlist',

        datatype: "json",
        mtype: 'POST',
        colNames:['ID','Сайт', 'Email'],
        colModel:[
                {name:'id',index:'id', width:55, align:"center",hidden:true},
                {name:'site',index:'site', width:250,editable:false,align:"center",editrules:{required:true},searchoptions: { sopt: ['eq','ne','bw','ew'] }},
                {name:'email',index:'email', width:250,editable:false,align:"center",editrules:{required:true,email:true},searchoptions: { sopt: ['eq','ne','bw','ew'] }}
        ],
        rowNum:10,
        rowList:[10,20,30],
        pager: '#pagerTours',
        sortname: 'id',
    viewrecords: true,
    sortorder: "asc",
    caption:"Принимающая сторона",
   
    width:400
});


});
